/******************************************************************************/
/* led_def.h                                                                  */
/******************************************************************************/

#ifndef __LED_DEF_H
#define __LED_DEF_H


/******************************* Constants ************************************/
#define LED_STATUS_DEF      (0x00020028)
#define LED_DATA_DEF        (0x0000FFFF)
#define LED_GSM_DEF         (0x0002003C)
#define LED_GSM_NOPIN_DEF   (0x0002000C)


/********************** Prototypes struct for LED *****************************/
typedef enum
{
    eLED_STATUS = 0,                               // Led-status
    eLED_DATA,                                     // Led-data
    eLED_GSM,                                      // Led-gsm
    eLED_END                                       // End token
} __eIND_LED;                                      // Type Led index


typedef union
LED_DATA
{
    LED_DATA(uint32_t _led) : led32(_led) {}

    uint32_t led32;
    uint16_t led16[2];
} __LED_DATA;


typedef struct
LED_TOOL
{
    LED_TOOL() : main(0), def(0) {}

    __LED_DATA main;
    __LED_DATA def;
} __LED_TOOL;


#endif